<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<title>可编辑表格 </title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<script type="text/javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/jqueryEditUseBlur.js"></script>
		<link rel="stylesheet" type="text/css" href="css/skin.css">
		<script type='text/javascript' src='/EditTable/dwr/engine.js'></script>
        <script type='text/javascript' src='/EditTable/dwr/interface/empInfoDwr.js'></script>
        <script type='text/javascript' src='/EditTable/dwr/util.js'></script>
		<script type="text/javascript">
		
    </script>
	</head>
	<body style="background-color: white;">
		<center>
		<div>
			<div>
				<h3>
					可编辑表格
				</h3>
			</div>
			<div style="width:850px;height:30px;">
		        <table cellpadding="0" cellspacing="0" align="left" style="margin-bottom: 5px;">
		          <tr>
		            <td><input type="button" value='增加' onclick="insert()"/></td>
		            <td><input type="button" value='保存' onclick="save()"/></td>
		            <td><input type="button" value='删除' onclick="remonve()"/></td>
		            <td><input type="text" name="ename" id="ename"/><input type="button" value='查询' onclick="selectEmp()"/></td>
		            <td><form action="PageServlet" method="post"><input type="submit" value="分页"/></form></td>
		         </tr>
		       </table>
		    </div>
		    <div style="width:852px;height:25px; border-left: solid 1px #333000;border-right:solid 1px #333000;border-top:solid 1px #333000; ">
			   <table cellpadding="0" cellspacing="0" class="tb" align="left">
				<tr>
					<th width="80px">
						编号
					</th>
					<th width="80px">
						姓名
					</th>
					<th width="80px">
						职位
					</th>
					<th width="80px">
						MGR
					</th>
					<th width="240px">
						HIREDATE
					</th>
					<th width="80px">
						SAL
					</th>
					<th width="80px">
						COMM
					</th>
					<th width="80px">
						DEPTNO
					</th>
				</tr>
			 </table>
		   </div>
			<div style="width:850px;height:400px;border-left: solid 1px #333000;border-right:solid 1px #333000;border-bottom:solid 1px #333000; padding-left:0px;  padding-bottom: 4px; padding-right: 4px; overflow: scroll; "  >
			   <table cellpadding="0" cellspacing="0" id="edittable" class="edittable" align="left">
			 </table>
		   </div>
		</div>
	</center>
	</body>
</html>
